const state = {
    visitedViews: [],
    scrollLeft: 0
}

const getters = {

}

const mutations = {
    addVisitedView: (state, arr)=>{
        state.visitedViews = arr
    },

    delVisitedView: (state, arr) => {
        state.visitedViews = arr
    },
    changeScroll: (state, left) => {
        state.scrollLeft = left;
    }
}

const actions = {
}

export default {
    namespaced: true,
    state,
    getters,
    mutations,
    actions
}
